﻿using System.Collections.Generic;

namespace NlpTrainApp.Bll.Model
{
    /// <summary>
    /// 用于nlp学习的样本结构
    /// </summary>
    public class ResultListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int End { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Start { get; set; }

        /// <summary>
        /// 张长一
        /// </summary>
        public string Text { get; set; }
    }
    /// <summary>
    /// 用于nlp学习的样本结构
    /// </summary>
    public class TrainDataModel
    {
        /// <summary>
        /// 张三风是张长一的长子，也是谭派第六代传人
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 张三风的父亲
        /// </summary>
        public string prompt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<ResultListItem> Result_list { get; set; }=new List<ResultListItem>();

    }

    /// <summary>
    /// uie结构的学习数据表
    /// </summary>
    public class uietrain
    {
        /// <summary>
        /// 张三风是张长一的长子，也是谭派第六代传人
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 张三风的父亲
        /// </summary>
        public string prompt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string result_list { get; set; }

    }
}
